-
Notifications
You must be signed in to change notification settings - Fork 115
Update network offering usage record (inline with the response) #505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update network offering usage record (inline with the response) #505
Conversation
@blueorangutan docbuild |
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. |
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 340) |
9189094
to
3bb3615
Compare
@blueorangutan docbuild |
@blueorangutan docbuild |
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. |
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 341) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I am able to list usage records for type 13 with the usage id i.e the network offering id.
(usage) 🐱 > list usagerecords startdate=2025-05-14 enddate=2025-05-14 type=13 usageid=0604e20e-2636-462e-bdf9-95edc9befed5
{
"count": 1,
"usagerecord": [
{
"account": "admin",
"accountid": "47a9dacf-308a-11f0-829c-1e0066000471",
"description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (0604e20e-2636-462e-bdf9-95edc9befed5) usage for VM VM1 (b300586b-5f59-46d3-986e-aa074e2d0444) ",
"domain": "ROOT",
"domainid": "012fe828-308a-11f0-829c-1e0066000471",
"domainpath": "/",
"enddate": "2025-05-14'T'06:59:59+00:00",
"isdefault": true,
"offeringid": "0604e20e-2636-462e-bdf9-95edc9befed5",
"rawusage": "0.449722",
"startdate": "2025-05-14'T'06:00:00+00:00",
"tags": [],
"usage": "0.449722 Hrs",
"usagetype": 13,
"virtualmachineid": "b300586b-5f59-46d3-986e-aa074e2d0444",
"zoneid": "f9a26223-216b-4ed1-be1b-2fc1b0dc0f8a"
}
]
}
refers apache/cloudstack#10852 |
Update network offering usage record (inline with the response).
📚 Documentation preview 📚: https://cloudstack-documentation--505.org.readthedocs.build/en/505/